package test3_25.demo07;

public class Homework14_5_StringNum {
    public static void main(String[] args) {
        String  str = "iu7i8hy4jnb2";
        String newStr = str.replaceAll("[^0-9]","");
        System.out.println(newStr);
    }
}
